package com.example.myandroidactualcombat.data;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

public class Book extends LitePalSupport {
    private int id;
    @Column(unique = true,defaultValue = "unknown")
    private String bookname;//书名
    private int imageid;//图片

    public Book() {

    }

    public Book(int id, String bookname, int imageid) {
        this.id = id;
        this.bookname = bookname;
        this.imageid = imageid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public int getImageid() {
        return imageid;
    }

    public void setImageid(int imageid) {
        this.imageid = imageid;
    }


}
